# 应用ID
APP_ID = '2016101600696940'

# 是否是沙箱环境
DEBUG = True

# 签名算法 RSA 或 RSA2
SIGN = 'RSA2'

# 网管
if DEBUG:
    GATEWAY = 'https://openapi.alipaydev.com/gateway.do?'
else:
    GATEWAY = 'https://openapi.alipay.com/gateway.do?'

# 应用私钥
app_private_key_string = '''-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAqo6IgfUepPQzt7UKYlVo2m8YsSvuq+AJ6kO7/cIAzH1dDP4WgsW0pOLz5Gd26J8ydRfCYEG1jNv/C6SmBru1mz+al+3LtgT+YY5BciewCU1ayzaZZ4fkTC0ozbxnr8jtiwZ6y+43i7XINSgGloIBOgtPrACaDS6Jaq5XACQNIwQT8efNqe+IkHYWSZrZgEBr3CS3BCQ5z/4oAGxKcU2gGNmucL36nMC76fmqBndMgnhLG+fXgIOWYP8Re7LoZIa65MjkGtocMFGvshrBfuNU0ehJY1Z2+wTjKHn77tgVHq+3nqw183hGRls2tZLlVd3en9ai4jCzR645Sb46nnvf4wIDAQABAoIBAD58yCCs+NRAsC4PQ0Wxux/Eckx/JwuLorZUqKyZBoflKlFXSlIRM1Tx3Z+CFLu3j9n8oXd4u5ZnB7NxWG7BGRFPJUmiku8WN0jwwKOdTM6rq6cmUt/ulsMeDIQMEgUCXZ2A+z56AZnLORXYm0lLSj3E5STEd6x6r1gJldB0ZOe9vjA5wC2IDzpf2C32GvpsKuk56p99mwrpGcv0L3YuoXU/LxJ2LHsY2zJbcWVVQ+g9BapPI4xSSxf4T+KJrBKmq+o74jwuBeIitldVqnDQm4JOYmxUJA/OgYvUsAMJBmgVWkrLZO90CUxneq821J5t78i83TmMUzXT4R+yNahIhmECgYEA4VOOM2PGgR2d5XTictXJjqCX/NyRtxkEbajE1ztPuBUDwSzV6PZ6qkEA+pdra6hlpvXouyB7MztMt2NAXWR6nvJAAV+8DzWYil/HIAgAAs/bTEQHsrZHCIup6mFTKEdNIczGSnqjp7FSl15YFVErdij5dUNGz3uLtOU5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